using RimWorld;
using System.Reflection;
using Verse;
using System.Reflection.Emit;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System;
using Verse.AI;
using RimWorld.Planet;

namespace TW_Rainbow_Land
{
    public class TW_Rainbow_LandMod : Mod
    {

        public TW_Rainbow_LandMod(ModContentPack content) : base(content)
        {
            #if DEBUG
            Log.Message("TW_Rainbow_LandMod: loaded");
            #endif
            // var harmony = new Harmony("nightz.facelessman");
            // harmony.PatchAll(Assembly.GetExecutingAssembly());
        }
    }

        public class TW_Rainbow_LandModComponent : GameComponent
    {
        public TW_Rainbow_LandModComponent(Game game)
        {
        }
        public override void ExposeData()
        {
            if (Scribe.mode == LoadSaveMode.PostLoadInit)
            {
                // 读取数据
                // AnimalControl.Clear();
                // PawnControl.Clear();
            }
        }


    }

    [StaticConstructorOnStartup]
    public static class Main
    {
        static Main()
        {
            // var harmony = new Harmony("nightz.facelessman");
            // harmony.PatchAll(Assembly.GetExecutingAssembly());
            Log.Message("TW_Rainbow_Land: StaticConstructorOnStartup");

        }
    }

}